package cn.itsource.basic.util;

import java.util.ArrayList;
import java.util.List;

public class PageBean<T> {
	private Long totals = 0L;
	private List<T> data = new ArrayList<>();
	public Long getTotals() {
		return totals;
	}
	public void setTotals(Long totals) {
		this.totals = totals;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "BaseBeans [totals=" + totals + ", data=" + data + "]";
	}
	public PageBean(Long totals, List<T> data) {
		super();
		this.totals = totals;
		this.data = data;
	}
	public PageBean() {
		super();

	}
	
}
